package asm.test;

public class Animal {
    static {
        int a = 123;
    }

    private static User user = new User(12);
    protected void print() throws Exception{
        User user = new User(1);
    }

}

 class Parent {
    public static int A = 1;
    static {
        A = 2;
    }
}
 class Sub extends Parent {
    public static int B = A;
    public static void main(String[] args) {
        System.out.println(Sub.B);
    }
}